package com.hubei.service;

import com.hubei.service.impl.UserServiceImpl;
import com.hubei.vo.Users;

import java.util.List;

public interface UserService {
    /**
     * @program: HuBeiWeb
     *
     * @description: 用户登录
     *
     * @author: Mortalss
     *
     * @create: 2025-06-24 09:11
     **/
    static UserService getInstance()
    {
        return new UserServiceImpl();
    }
    Users userLogin(Users users);
    List<Users> queryUserList(String username);
    int insertUser(Users users);
    int deleteUser(String id);

    int updateUser(Users users);

    Users queryUserById(String id);
}